std::basic_istream::putback
From Cppreference
< cpp | io | basic istream
| C++ Standard Library | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Input/output library | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| std::basic_istream | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| basic_istream& putback( char_type ch );
| ||
Puts the character ch back to the input stream so the next extracted character will be ch.
Contents |
[edit] Parameters
(none)
[edit] Return value
*this
[edit] Example
| This section is incomplete |
[edit] See also
| unextracts a character (public member function) | |
| reads the next character without extracting it (public member function) | |